<template>
  <div class="container leave">
    <h4>办公用品购买</h4>
    <div class="cells cells-no-bgc">
      <div class="cell">
        <div class="cell-hd">姓名</div>
        <div class="cell-bd">
          <input class="cell-input" placeholder="姓名">
        </div>
      </div>
      <div class="cell">
        <div class="cell-hd">部门</div>
        <div class="cell-bd">
          <input class="cell-input" placeholder="部门">
        </div>
      </div>
      <div class="cell">
        <div class="cell-hd">购买物品</div>
        <div class="cell-bd">
          <input class="cell-input" placeholder="购买物品">
        </div>
      </div>
      <div class="cell">
        <div class="cell-hd">预计费用</div>
        <div class="cell-bd">
          <input class="cell-input" placeholder="预计费用">
        </div>
      </div>
      <div class="cell">
        <div class="cell-hd">商品链接</div>
        <div class="cell-bd">
          <textarea class="cell-input-textarea" placeholder="商品链接"></textarea>
        </div>
      </div>
      <div class="cell">
        <div class="cell-hd">备注</div>
        <div class="cell-bd">
          <textarea class="cell-input-textarea" placeholder="补充说明"></textarea>
        </div>
      </div>
      <div class="cell">
        <div class="cell-hd"></div>
        <div class="cell-bd">
          <button class="cancel-btn">取消</button>
          <button class="submit-btn" @click="openalert">提交</button>
        </div>
      </div>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {
    methods: {
      openalert() {
        alert('当前为演示账号，无法提交办公用品购买申请')
      }
    }
  }
</script>

<style>
  .leave h4 {
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
  }

  .leave .cells .cell {
    padding-top: 28px;
  }

  .leave .cell button {
    width: 150px;
    height: 40px;
    line-height: 40px;
    margin-right: 20px;
    border: none;
    cursor: pointer;
  }
</style>
